/**
 * @(#)RecursosHumanosManagerFactory.java Mar 13, 2007
 *
 * Copyright (c) 2005-2010 Psiqueware S.A. de C.V. All Rights Reserved.
 * This software is the proprietary information Psiqueware S.A. de C.V.
 * Use is subject to license terms.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 *
 * <br/>Usuario : Psique
 * <br/>Creaci&oacute;n: Mar 13, 2007 - 5:19:01 PM
 * <br/>
 * <br/>
 * <br/><t5>Cambios :</t5>
 * <br/><b>Fecha | Autor  |  Cambios</b>
 * <ul>
 * <li>Mar 13, 2007 | <a href = "mailto:AngelElectrico@PsiqueWare.com">Psique</a> | Creaci&oacute;n del Objeto.</li>
 *
 * </ul>
 */

package com.psiqueware.jazmin.empresas.recursos.humanos;

import com.psiqueware.alheli.reflection.pooling.PoolObjeto;
import com.psiqueware.alheli.reflection.pooling.PoolObjetoListaInstancias;
import com.psiqueware.jazmin.empresas.recursos.humanos.manager.EmpleadosManagerK;
import com.psiqueware.jazmin.empresas.recursos.humanos.manager.RecursosHumanosManagerK;


/**
 * Fabrica de encargados para el paquete empleados.
 * <br/>Paquete Original: com.psiqueware.laVIE.empresas.empleados
 * <br/>Nombre  Original: EmpleadosManagerFactory
 * <br/>Oprima para ver : <a href="RecursosHumanosManagerFactory.java.html"><i>C&oacute;digo Fuente</i> </a>
 *
 * @author <a href="mailto:AngelElectrico@PsiqueWare.com">Psique</a>
 * @version Revision: 1.1 Mar 13, 2007 5:19:01 PM
 */
public class RecursosHumanosManagerFactory
{


    /** Constructor de RecursosHumanosManagerFactory. */
    public RecursosHumanosManagerFactory ()
    {

    }

    /**
     * Pool de {@link RecursosHumanosManager}.
     *
     * @noinspection unchecked
     */
    private static PoolObjeto<RecursosHumanosManager> s_poolRecursosHumanos = new PoolObjetoListaInstancias<RecursosHumanosManagerK> ( RecursosHumanosManagerK.class );

    /**
     * Devuelve una instancia del {@link RecursosHumanosManager}.
     *
     * @return un {@link RecursosHumanosManager} instanciado siempre.
     */
    public static RecursosHumanosManager getRecursosHumanosManager ()
    {
        return s_poolRecursosHumanos.referencia ();
    }

    /**
     * Pool de {@link EmpleadosManager}.
     *
     * @noinspection unchecked
     */
    private static PoolObjeto<EmpleadosManager> s_poolEmpleados = new PoolObjetoListaInstancias<EmpleadosManagerK> ( EmpleadosManagerK.class );

    /**
     * Devuelve una instancia del {@link EmpleadosManager}.
     *
     * @return un {@link EmpleadosManager} instanciado siempre.
     */
    public static EmpleadosManager getEmpleadosManager ()
    {
        return s_poolEmpleados.referencia ();
    }
}

